<div class="AdminMarket">
<div id="form"></div>
</div>
<script>
var inputs={{JSON:inputs}};
var frm=$("#form").ajajform({
	header: "{{!Export data to excel}}",
	submit: {
		url: '{{action}}',
		value: "{{!Save defaults and export}}",
		ajaj: true,
		params: {"mode":"export2","ajaj":1},
	},
	footerButtons: []
});
for (var i=0;i<inputs.length;i++) {
	frm.ajajform("insertWidget",inputs[i].tabname,null,inputs[i]);
}
</script>

